home *** CD-ROM | disk | FTP | other *** search
/ WinDesk 95 - An MPC Encyclopedia / WinDesk 95 - An MPC Encyclopedia.iso / power / macprt2 / PRINT.TXT < prev   
Text File  |  1995-03-23  |  1KB  |  52 lines

  1. Print XObject README
  2. --------------------
  3.  
  4.  
  5. The Print Windows XObject for Macromedia Director prints the content of the
  6. clipboard, which must be a Device Independent Bitmap. Director uses this
  7. format when copying bitmaps into the clipboard.
  8.  
  9.  
  10. The available methods are:
  11.  
  12.  
  13. mNew
  14. ----
  15.  
  16. This is the constructor of the XObject. It has no parameters. It is called by Lingo
  17. using the following syntax:
  18.  
  19.   put Print( mNew ) into printObj
  20.  
  21. The return value is 0 if the creation of the new instance was completed
  22. successfully, otherwise it is a negative number.
  23.  
  24.  
  25. mDispose
  26. --------
  27.  
  28. This method destroys an XObject instance. It requires no parameters.
  29. The Lingo syntax is:
  30.  
  31.   printObj( mDispose )
  32.  
  33. The return value is 0 if the instance was correctly destroyed, otherwise it is
  34. a negative number.
  35.  
  36.  
  37. mPrint
  38. ------
  39.  
  40. This method prints the current content of the clipboard, which must be in 
  41. DIB format. Thus, to print a cast member from Lingo, first copy it into
  42. the clipboard:
  43.  
  44.   copytoclipboard cast cast_memb
  45.   
  46. and then print it:
  47.  
  48.   printObj(mPrint)
  49.   
  50. The return value is 0 if the operation was successfully completed, otherwise
  51. it is a negative number.
  52.